﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
<script type="text/javascript">

function funGetTime() {
    var dte = new Date();
    var hrs = dte.getHours();
    var min = dte.getMinutes();
    var sec = dte.getSeconds();
    var date = dte.getDate();
    var month = dte.getMonth()+1;
    var year = dte.getFullYear();
    var minSec = dte.getMilliseconds ();
    window.setTimeout("funGetTime()", 49);
   // document.getElementById("TextBox4").value = year + "/" + month + "/" + date + " " + hrs + ":" + min + ":" + sec + "." + minSec
    document.getElementById("TextBox4").value = year + "/" + month + "/" + date + " " + hrs + ":" + min + ":" + sec 
}
 function funChkStatus() {
        document.getElementById("TextBox2").value = document.getElementById("TextBox1").value;
        window.setTimeout("funChkStatus()", 1000);
 }
    //window.setTimeout("funChkStatus()", 1000);
    window.setTimeout("funGetTime()", 1000);
</script>
    
    
</head>
<body ">
<span id ="A0001" style ="color:red"></span>
    <form id="form1" runat="server">
    <div>
    
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <asp:Button ID="Button2" runat="server" Text="Login:AA" />
        <asp:Button ID="Button3" runat="server" Text="Default2.aspx" />
        <br />
        <br />
        <asp:TextBox ID="TextBox2" runat="server" Width="400px"></asp:TextBox>
        <br />
        <asp:TextBox ID="TextBox3" runat="server" Width="400px"></asp:TextBox>
        <br />
        <asp:TextBox ID="TextBox4" runat="server" Width="400px" Font-Bold="True" 
            Font-Size="18px" ReadOnly="True"></asp:TextBox>
    
        <asp:Button ID="Button4" runat="server" style="height: 21px" 
            Text="OpenOfficeCALC" />
    
    </div>
    <span id ="Divtime">1234</span>
    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16px" 
        Text="Label"></asp:Label>
    <asp:HiddenField ID="hiNote" runat="server" />
    </form>
</body>
</html>
